import Vue from 'vue'
import Vuex from 'vuex'
import router from "@/router/index";



import {
  Message
} from 'element-ui'
Vue.use(Vuex)
export default new Vuex.Store({
  state: {
        language:localStorage.getItem('language')||'en'
  },

  getters: {},
  mutations: {
    setLanguage(state,data){
        state.language = data;
    }
  },
  actions: {


  },
  modules: {}
})
